home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / TAWUG / TAWUG Disk No. 66 (SHK) / TAWUG66.shk / APPLE.INTRO (.txt) next >
AppleWorks Document  |  1988-03-11  |  17KB  |  255 lines

  1. O=====|====|====|====|====|====|====|====|====|====|====|====|====|====|====|===
  2. AN INTRODUCTION TO THE APPLE II
  3. A     An important, and sometimes confusing, point for first-time H
  4. Fcomputer users is the fact the computer can NOT do anything unless it =
  5. ;has specific instructions about what to do.  Some of these D
  6. Binstructions are built into the computer's chips (ROM memory--see F
  7. Dbelow) but many have to be loaded into RAM memory--in the form of a I
  8. Gprogram {also called "software" } which is then run.  Just because you H
  9. Fhave a computer, you won't necessarily be able to do word processing, G
  10. Efor example, unless you have a word processing program to run on the I
  11. Gcomputer. DON'T LAUGH....THIS ISN'T AS OBVIOUS AS IT SOUNDS--THERE ARE H
  12. FA FAIR NUMBER OF FIRST TIME COMPUTER USERS WHO DIDN'T KNOW THIS UNTIL 
  13. SOMEONE TOLD THEM.
  14. D     Another important point is that NO MATTER WHAT YOU TYPE ON THE F
  15. DKEYBOARD, YOU CANNOT BREAK YOUR APPLE.  You may "crash" the program H
  16. Fyou are running and lose some of the data you entered, but you should D
  17. Bbe able to shut off the computer and restart the program from the ?
  18. =place you last saved your data onto disk--hint, hint: saving G
  19. Efrequently is a VERY good habit to get into. And, as I said, you can F
  20. DNOT break a computer simply by typing on it (unless you type with a G
  21. Esledge hammer).  In fact, your Apple is a pretty hearty creature and H
  22. Fcan tolerate almost anything by way of normal use.  Dropping it off a G
  23. E10-story building, pouring your morning coffee into it or leaving it E
  24. Cinside a closed car on a hot summer day are not examples of normal 
  25. use.G
  26. E     Passing a magnet over your floppy disks, or leaving them on top I
  27. Gof magnets (including your stereo speakers, near your telephone's bell I
  28. Gringer, etc.) or subjecting them to extremes of hot or cold or getting @
  29. >them wet, are no better for your disks than they are for your @
  30. >computer.  And remember, while disks cost a lot less than the F
  31. Dcomputer, they also are the place where you save your valuable data H
  32. Fwhen the computer gets turned off, so they deserve as much respect as G
  33. your Apple does--at least if you value the data stored on your disks.
  34. =     What can I use my Apple to do?  Given the right program ?
  35. ={software}, just about anything, from word processing (fancy G
  36. Ecorrectable typewriter), data bases (computerized filing system) and I
  37. Gspreadsheets (programs that, once you set them up with formulas in the F
  38. Dright places, do calculations for you and if you change one part of C
  39. Athe sheet, all other parts of the sheet will reflect the change) C
  40. A[AppleWorks and a number of other programs do all three of these ;
  41. 9functions in one] to education (learning ABC's, reading, A
  42. ?algebra,etc.), to fun-- games from arcade games (which improve E
  43. Chand-eye coordination) to adventure games (which require deductive H
  44. Freasoning skills--at least those which are well written), to learning I
  45. Gprogramming--the BASIC programming language is built in to every Apple H
  46. FII and there are a multitude of other programming languages available G
  47. Efor use on your Apple.  We'll cover some examples of what you can do I
  48. Gwith your Apple in the second half of this talk, but for now let's get G
  49. Edown to the basics of how your Apple works and to make your Apple do 
  50. what you want it to do.
  51. RAM AND ROM MEMORY:
  52. D     The Apple II understands many different programming languages, I
  53. Gbut only two languages are built in (or to use the computerese jargon, C
  54. Aresident in ROM --Read Only Memory);these built-in languages are C
  55. AApplesoft Basic (hereafter referred to as Applesoft) and machine 
  56. language (a Binary code).B
  57. @     The Apple has two different kinds of memory ROM (Read Only B
  58. @Memory) and RAM (Random Access Memory). ROM is built-in and not E
  59. Cuser-changeable; it contains such things as the instructions which I
  60. Gtell the Apple how to understand programs written in Applesoft. ROM is G
  61. Ealso structured so that there are specific memory addresses which at G
  62. Ewhich certain types of information are loaded, e.g. ROM has specific I
  63. Gsites to which it will load an Applesoft program,to which it will load I
  64. Ga high resolution graphics picture,etc.  You don't need to worry about H
  65. Fthese addresses now,since they are automatically set when you turn on G
  66. Ethe computer. ROM is built into the silicon chips inside your Apple; C
  67. Ait doesn't change--hence the name Read Only Memory(ROM)--this is I
  68. Gmemory designed only to be read by the Apple,not changed by the user.  I
  69. GThe memory you use when you load a program, run a program and so on is G
  70. Ecalled RAM (Random Access Memory). When an Apple is referred to as a I
  71. G64 K or 128 K Apple , this refers only to RAM not to ROM, since RAM is F
  72. Dthe only part of memory which changes depending on which program is G
  73. Ebeing run at a given time. Remember, ROM is for the computer to use, 
  74. RAM is for you to use.
  75. DISK OPERATING SYSTEMS (DOS 3.3
  76.  and 
  77. DOS):
  78. =     We will now turn to a discussion of DOS (disk operating I
  79. Gsystems--the instructions which tell your Apple how to access the disk G
  80. Edrive).  We'll start with DOS 3.3, even though some of you may never G
  81. Ehave run across DOS 3.3 before. DOS 3.3 is the disk operating system G
  82. Ewhich came with all Apples from 1980 to 1984, and, hence, there is a >
  83. <great deal of very good software out there which is DOS 3.3 D
  84. Bbased--much of it Public Domain (i.e. FREE).  Because the manuals D
  85. Bwhich come with newer model Apples do NOT even mention DOS 3.3 in F
  86. Dpassing, and because there is no other readily available source for G
  87. Enew users who don't know anything about DOS 3.3 to read about it , I G
  88. Eam going to discuss DOS 3.3 in detail. Before you get bored and turn F
  89. Dme off completely, remember--what you learn about DOS 3.3 will form C
  90. Athe building blocks on which your learning ProDOS {the currently I
  91. Gfavored disk operating system} will be based.  If you don't understand F
  92. DDOS 3.3 (which is the easier of the two systems to understand), you 5
  93. will have more difficulty in learning about ProDOS.
  94. DOS 3.3 --DISK OPERATING SYSTEM:
  95. C     The instructions which tell your Apple how to access the disk G
  96. Edrive are called DOS (Disk Operating System) are not built into ROM, F
  97. Dbecause, among other things, your Apple II is still very similar to F
  98. Dthe first Apples built in 1977 and those Apples did not have a disk H
  99. Fdrive; they used a cassette recorder instead.  DOS occupies the first I
  100. Gthree (of 35) tracks on each "bootable" floppy disk and is loaded each E
  101. Ctime you boot a disk.  The term boot arises from the fact that you H
  102. Fload the instructions that run the computer's interface with the disk I
  103. Gdrive up from the disk, thus pulling the system "up by its bootstraps" H
  104. Fso to speak. Whenever you start with a computer that is off, insert a G
  105. Edisk into the drive and turn on the system you are BOOTing DOS.  You H
  106. Fcan also re-BOOT DOS by hitting control-Open Apple-reset.  This wipes F
  107. Dout whatever was in RAM at the time, reloads DOS into RAM and then, H
  108. Fusing DOS, load a HELLO , or greeting program (see below).  There are I
  109. Gseveral very  important DOS commands which you should know and we will 
  110. now go through them.
  111. D     INIT  This stands for initialize.  When you initialize a blank F
  112. Ddisk you first "format" it--set up the tracks and sectors in a form C
  113. Awhich DOS will recognize, including setting up a volume table of %
  114. contents (called VTOC) on track 17.F
  115. D     The second half of the initialization process involves putting G
  116. EDOS onto the first three tracks of the disk (tracks 00 through 02).  =
  117. ;Some people mistakenly use the terms format and initialize (
  118. synonymously, but now you know better.
  119. Why do you initialize a disk?C
  120. A  1) to use it to store DATA saved from another program, such as C
  121. Apictures from the Graphics Magician or games in progress from an 1
  122. adventure game or financial data from VisiCalc.>
  123. <  2) to ERASE a disk if you are sure you no longer want the I
  124. Ginformation on it. REMEMBER INITIALIZING A DISK PERMANENTLY ERASES THE I
  125. GDATA ALREADY ON THE DISK SO BE SURE YOU WANT TO DO THIS BEFORE YOU USE 
  126. THE INIT COMMAND.@
  127.   3) you can initialize a disk so you can SAVE PROGRAMS on it.
  128. To initialize a disk (DOS 3.3):
  129.       Boot the DOS 3.3 SYSTEM MASTER DISK **F
  130.       type NEW (this erases whatever program is currently in memory)E
  131. C      insert the disk to be initialized into drive 1 {the internal 
  132. drive:
  133.       on a IIc write a short APPLESOFT Program, such as:
  134.       10     PRINT "BULLFEATHERS"
  135. E      type INIT HELLO and wait about 2 minutes until the drive stops @
  136. >whirring and the in use light goes off---and POOF you have an 
  137. initialized disk
  138. G** (DOS 3.3 SYSTEM MASTER DISKS used to come packaged with every Apple @
  139. >until Apple upgraded DOS 3.3 to a new DOS, called ProDOS {for G
  140. Eprofessional DOS--more about ProDOS later}-- if you don't have a DOS H
  141. F3.3 system master disk, you should be able to get one from your Apple I
  142. Gdealer or your user's group. {It even says so on Page 134 of the Apple G
  143. EIIGS Owner's Guide, if you get wierd looks from someone when you ask 
  144. for a DOS 3.3 System Master}.@
  145. >     NOTE: the program you write as your HELLO program can be C
  146. Aanything; in fact it can simply be a line number such as 10 with I
  147. Gnothing after it, but doing this is very confusing since when the disk F
  148. Dboots you will see a blank screen with just a cursor on it, nothing C
  149. Aelse--you will then have to type CATALOG to find out if the disk 
  150. booted alright.
  151.      My favorite HELLO program is:
  152.      10  PRINT CHR$(4);"CATALOG"
  153. G     This program starts out by telling the Apple it is going to issue G
  154. Ea DOS command --PRINT CHR$(4); tells the Apple this--and then issues G
  155. Ethe command CATALOG.  Note: you must type this program in exactly as I
  156. Gwritten above, including the semicolon and the two quotation marks, or 
  157. it won't work.E
  158. C      If you want to make a bootable DOS 3.3 disk you must use the I
  159. Gfull initialization process described above under INIT.  If you happen D
  160. Bto have a copy of the System Utilities disk {the Apple IIc System E
  161. CUtilities Disk has such a choice, the Apple II GS System disk does I
  162. GNOT} which allow you to choose DOS 3.3 as one of the operating systems E
  163. Cunder the FORMAT A DISK option, and you use that process, you will H
  164. Fliterally be formatting the disk (laying down tracks and sectors) but E
  165. Cyou will have NO way to install DOS 3.3 itself on the disk, so the I
  166. Gdisk will be useable ONLY as a data disk on which you can store data.  F
  167. DYou will not be able to boot the disk by itself and you will not be E
  168. Cable to store programs on the disk--you will be able to store data I
  169. Gonly.  In fact, if you format a disk this way and then try to boot it, H
  170. Fyou will get an error message which says "Not a DOS 3.3 startup disk" B
  171. @--which means your Apple recognized it as having DOS 3.3 format H
  172. F(location of tracks, sectors and VTOC) but was unable to find DOS 3.3 
  173. itself on the disk.
  174. EREAD THE FOLLOWING NOTE ONLY IF YOU ARE HAVING THE PROBLEM DESCRIBED G
  175. EABOVE AND WANT TO KNOW THE FIX, OR IF YOU ARE A REAL TECH-FREAK--ALL I
  176. GOTHERS WILL CERTAINLY FIND IT TERMINALLY BORING AND MOST WILL PROBABLY  
  177. FIND IT INCOMPREHENSIBLE, TOO:F
  178. D       {Note: in actuality, there is a way, using a special utility I
  179. Gprogram called Copy II+ from Central Point Software to install DOS 3.3 F
  180. Don such a disk, but you must copy DOS 3.3 from a disk which has DOS G
  181. E3.3 on it and even then, the first time you boot the newly formatted F
  182. Ddisk with DOS 3.3, you will be greeted by a different error message E
  183. C--File Not Found--meaning "I found DOS but I didn't find the HELLO E
  184. Cprogram."  At this point you can type in your greeting program and I
  185. GSAVE HELLO; NOTE ALSO that, in this case, the greeting program must be 
  186. named HELLO !!!!}.
  187. C      CATALOG   This command writes out a catalog of what's on the E
  188. Cdisk to the monitor screen.  The letters in front of the file name #
  189. tell you what type of file it is:
  190.       A = Applesoft.F
  191. D      I = Integer Basic.  To run this type of program you must have H
  192. Ffirst loaded integer basic into RAM--the easiest way of doing this is E
  193. Cby booting a DOS 3.3 System Master disk.  As I said before, if you I
  194. Gdon't have a DOS 3.3 system master disk, you should be able to get one I
  195. Gfor the cost of a blank disk from your Apple dealer--or you can make a I
  196. Gcopy of one onto your own disk at the end of this session) The DOS 3.3 G
  197. Esystem master's HELLO program automatically loads integer basic into 3
  198. RAM.  You can then simply type RUN <Program Name>D
  199. B     T = text file (e.g. a letter written on some word processors F
  200. D(such as AppleWriter but not AppleWorks, a data file from VisiCalc, 
  201. etc.)C
  202. A     B = Binary a machine language program-- to run this type of +
  203. program you must type BRUN <Program Name>
  204. D     LOAD loads an Applesoft or integer basic program from the disk F
  205. Dinto memory (RAM) but does not run it.  You can use this command to G
  206. Eload a program which you want to LIST (see below) to see the program H
  207. Fline statements. Once you have LOADed a program you can run it simply G
  208. Eby typing RUN (without using the program name).  Typing RUN <program H
  209. Fname> will cause the Apple to reload the program from the disk before 
  210. running it.
  211. F     LIST lists the program line statements (commands)for the program B
  212. @currently in memory (RAM).  Usually, this is listed only to the G
  213. Emonitor but if you want a printed list, you can type PR #1, FOLLOWED I
  214. GBY RETURN , then type LIST.  PR #1 stands for peripheral number 1--the E
  215. Cslot into which the printer is usually plugged--if your printer is I
  216. Gplugged into a slot/port other than slot 1 then you would need to type B
  217. @PR #N (where N equals the slot number into which the printer is A
  218. plugged.), followed by a RETURN,. followed by the command LIST.
  219. @     RUN <PROGRAM NAME>    loads the Applesoft or Integer BASIC H
  220. Fprogram of that name from the disk and then automatically proceeds to     
  221. run it.
  222. F     BRUN <PROGRAM NAME>   load the Binary (machine language) program F
  223. of that name from the disk and then automatically proceeds to run it
  224. B     SAVE <PROGRAM NAME>   saves the Applesoft or Integer program D
  225. Bcurrently in memory (RAM) to the disk using the specified program I
  226. Gname.  If there is already a file on the disk with that same name SAVE E
  227. Cwill automatically erase the old file and write the new one in its A
  228. ?place (unless the old file is LOCKed--see below).  Be sure you H
  229. Factually want to erase the old file before you SAVE using a file name I
  230. Gthat already exists on the disk you are SAVEing to.  (P.S. I know that A
  231. isn't the right way to spell saving but it helps for emphasis.)I
  232. G     NOTE:   BLOAD  AND BSAVE COMMANDS WORK SIMILARLY TO  THE LOAD AND F
  233. DSAVE COMMANDS ABOVE, BUT FOR BINARY PROGRAMS.  HOWEVER,THEY REQUIRE F
  234. DTHAT YOU SPECIFY A MEMORY LOCATION TO EITHER BLOAD TO OR BSAVE FROM H
  235. F(BSAVE ALSO REQUIRES THAT YOU SPECIFY THE LENGTH OF THE PROGRAM/FILE. I
  236. GYOU CAN FORGET ABOUT BSAVE AND BLOAD FOR NOW, BUT DON'T FORGET THAT TO C
  237. RUN A BINARY PROGRAM YOU MUST BRUN (NOT JUST RUN) <PROGRAM NAME>.
  238. F     LOCK <FILE NAME>   enables you to lock a file so that no one can >
  239. <accidentally erase or change it.  You should lock important G
  240. Efiles/programs which you are not likely to want to change often. You I
  241. Gprobably will not want to lock files (e.g.household finances) that you 
  242. are modifying frequently.
  243. F     UNLOCK <FILE NAME>  unlocks  locked file/program and enables you H
  244. Fto change it and then re-SAVE the modified form on the disk under the H
  245. Fsame name as the original.  The new file replaces the old one and the G
  246. Eold one is deleted from the disk--be sure you want to delete the old :
  247. file before you SAVE a new file using the old file name.
  248. D     DELETE <FILE NAME>  deletes the file from the disk, unless the F
  249. Dfile is locked or the disk is "write protected,"  in which case you I
  250. Gwill get an error message to that effect.  Once you delete a file, you I
  251. Gcan NOT undelete it (except under certain very specific circumstances, F
  252. Dusing special programs), so be sure you mean what you type when you 
  253. type DELETE <FILE NAME> !!
  254. (ProDOS section is continued in next topic.)
  255.